package com.yimu.system.domain;

import com.yimu.common.annotation.Excel;
import com.yimu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 监听管理对象 monitor
 * 
 * @author Christine
 * @date 2020-08-26
 */
public class Monitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long id;

    /** 监听IP */
    @Excel(name = "监听IP")
    private String ip;

    /** 监听端口 */
    @Excel(name = "监听端口")
    private String port;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ip", getIp())
            .append("port", getPort())
            .toString();
    }
}
